package com.southwind.servise;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.southwind.entity.Customer;
import com.southwind.mdao.CustomerMapper;

@Service
public class CustomerService {
	@Autowired
	CustomerMapper mapper;
	
	//根据id查询customer（客户） 和购买的商品goods
	public Customer findById(long id) {
		return mapper.findById(id);
		
	}

}
